package org.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("shopping_cart")
public class ShoppingCart {
    @TableId(value = "s_id", type = IdType.AUTO)
    private Integer s_id;

    private Integer s_user_id;
    private Integer s_goods_id;
    private Integer s_quantity;
    private Date s_add_time;
}
